home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_bas
/
pbc32.zip
/
PBC$BAS.ZIP
/
ALTKEY.BAS
next >
Wrap
BASIC Source File
|
1996-04-10
|
698b
|
19 lines
' +----------------------------------------------------------------------+
' | |
' | PBClone (C) Copyright 1996 Charon Software, All Rights Reserved |
' | |
' +----------------------------------------------------------------------+
SUB AltKey (ASCIICode%, ScanCode%, Ch$)
IF ASCIICode% THEN
Ch$ = ""
ELSE
tmp% = INSTR("ABCDEFGHIJOPQRSTUVW]^_`abc", CHR$(ScanCode% + 49))
IF tmp% THEN
Ch$ = MID$("QWERTYUIOPASDFGHJKLZXCVBNM", tmp%, 1)
ELSE
Ch$ = ""
END IF
END IF
END SUB